﻿<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="KursachApp.AuthPage"
             Title="Авторизация"
             IconImageSource="logo.jpg"
             
             >
    <ContentPage.Content>

        <Frame CornerRadius="50"  
           BorderColor="Aqua"
           HorizontalOptions="Center" 
           VerticalOptions="Start"
           HasShadow="True"
               Margin="10"
           IsClippedToBounds="True"
             
       Padding="20">
            <StackLayout HorizontalOptions="Center" VerticalOptions="Start" WidthRequest="200"  Margin="50"  HeightRequest="400" Padding="0">
                <Image Source="logo.jpg"   HorizontalOptions="Center" HeightRequest="100" VerticalOptions="Start" Margin="30"/>
                <StackLayout >
                    <Label Text="Логин" TextColor="Black"/>
                    <Entry  x:Name="LoginE" TextColor="Black"/>
                    <Label Text="Пароль" TextColor="Black"/>
                    <Entry  x:Name="PassE" TextColor="Black"/>
                    
                    <Button Text="Авторизоваться" CornerRadius="20" x:Name="AutorizationB" BackgroundColor="Blue" TextColor="White" Clicked="AutorizationB_Clicked"/>
                </StackLayout>
                
            </StackLayout>
            
        </Frame>

        
            
            <!--<StackLayout HorizontalOptions="Center" VerticalOptions="Center" Orientation="Vertical">
                
            
            
        </StackLayout>--> 
            
            
            
            
            
            
            
            
            
            
            
            
   
        
    </ContentPage.Content>
</ContentPage>